import store from '@/store'

const Loading = {
  showLoading(payload) {
    store.dispatch('updateLoadingStatus', {isLoading: true})
  },
  hideLoading() {
    store.dispatch('updateLoadingStatus', {isLoading: false})
  }
}

export default Loading
